package test1;

public class GirlFriendTest {
    public static void main(String[] args) {
        GirlFriend gf1 = new GirlFriend();

        gf1.setName("艾米利亚");
        gf1.setAge(18);
        gf1.setGender("女");

        System.out.println(gf1.getName());
        System.out.println(gf1.getAge());
        System.out.println(gf1.getGender());

        gf1.eat();
        gf1.sleep();


       /* System.out.println("----------------------");

        GirlFriend gf2 = new GirlFriend();
        gf2.name = "娜美";
        gf2.age = 20;
        gf2.gender = "辣妹子";

        System.out.println(gf2.name);
        System.out.println(gf2.age);
        System.out.println(gf2.gender);

        gf2.eat();*/
    }
}
